﻿@model ZoomLa.SQLDAL.SQL.PageSetting
@{
    Layout = "~/Views/App/_layout.cshtml";
}
@section head{
    <title>我的模板</title>
}
@section content{
<div class="panel panel-default">
    <div class="panel-heading">
        <div id="stepbar" style="padding-left: 140px; margin-bottom: 10px;">
            <ul class="step_bar">
                <li class="step g_step1"><i class="fa fa-desktop active"></i><a class="g_a_step1" href="javascript:;">设定参数</a></li>
                <li class="green_line"></li>
                <li class="step g_step2"><a class="g_a_step2" href="javascript:;"><i class="fa fa-paint-brush"></i>定制效果</a></li>
                <li class="green_line"></li>
                <li class="step step3"><a class="a_step3" href="javascript:;"><i class="fa fa-android"></i>生成APP</a></li>
                <li>
                    <a href="APPList" class="btn btn-info" style="margin-top:8px;">我的APP</a>
                    <a href="TlpList" class="btn btn-info" style="margin-top:8px;">在线模板</a>
                </li>
            </ul>
            <div style="clear: both;"></div>
        </div>
    </div>
    <div class="panel-body" style="padding:0px;">
        @Html.Partial("MyTlpList_List",Model)
        <div style="padding:5px;">
            <input type="button" class="btn btn-primary" value="批量删除" onclick="mvcpage.bat({ url: 'Tlp_Del', confirm: '确定删除选中项吗' });" />
        </div>
    </div>
</div>
<div id="pretlp_div" style="display:none;">
    <iframe style="border: none; width: 275px; height: 463px;" id="pretlp_ifr"></iframe>
</div>
}
@section script{
<style>
    .remind div { margin-bottom: 3px; }
    .pretlp_div { width: 310px; height: 470px; }
</style>
<script type="text/javascript" src="/JS/Controls/ZL_Dialog.js"></script>
<script>
        var diag = new ZL_Dialog();
        function PreTlp(src) {
            diag.title = "预览模板";
            diag.content = "pretlp_div";
            diag.width = "pretlp_div";
            diag.ShowModal();
            $("#pretlp_ifr").attr('src', src);
        }
</script>   
}